package com.example.client;

import com.example.common.Result;
import com.example.domain.Books;
import com.example.domain.Users;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("bookservice")
public interface BookClient {
    @GetMapping("/book/selectByBookId")
    Books selectBookById(@RequestParam Long bookId);
}
